	var Pager = function(pageNum, pageSize, totalCount){
		this.pageNum = pageNum;
		this.pageSize = pageSize;
		this.totalCount = totalCount;
	};

	Pager.prototype.getStart = function(){
		return (this.pageNum - 1) * this.pageSize;
	};

	Pager.prototype.getEnd = function(){
		return this.pageNum * this.pageSize;
	};

	Pager.prototype.hasPre = function(){
		return this.pageNum > 1;
	};

	Pager.prototype.hasNext = function(){
		return this.pageNum * this.pageSize < this.totalCount;
	};
	var pager = new Pager(1, 10, 0);